From: Chris Lawrence Date: Thu, 1 May 2008 15:08:49 +0000 (-0500) Subject: lsb 3.2-12 Debian release. X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~215 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f1dadaa6ed8e98eacd7672eb68a702219d58cfaa;p=lsb.git lsb 3.2-12 Debian release. --- diff --git a/debian/changelog b/debian/changelog index 2356a5f..ae6cec2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lsb (3.2-12) unstable; urgency=medium + + * Fix reversed test in killproc(). (Closes: #478871) + + -- Chris Lawrence Thu, 01 May 2008 10:08:49 -0500 + lsb (3.2-11) unstable; urgency=low * Depend on gs | ghostscript to help with Python transition. diff --git a/init-functions b/init-functions index ce867cd..dea1f43 100644 --- a/init-functions +++ b/init-functions @@ -120,7 +120,7 @@ killproc () { sig=$(echo ${2:-} | sed -e 's/^-\(.*\)/\1/') sig=$(echo $sig | sed -e 's/^SIG\(.*\)/\1/') - if [ -n "$sig" -o "$sig" = 15 -o "$sig" = TERM ]; then + if [ -z "$sig" -o "$sig" = 15 -o "$sig" = TERM ]; then is_term_sig=yes fi status=0